package library.and.xps.com.step.m.model;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by XPS on 2017/5/6.
 */

public class Register extends BaseResponce {

    /**
     * error : null
     * obj : {"userId":2,"role":0,"nickName":"zhou","sex":0,"team":0,"state":0,"token":"a46e427a-4e9e-4ade-abf7-e13194295d64","phone":"15505670640"}
     * list : []
     */

    @SerializedName("error")
    private Object errorX;
    private ObjBean obj;
    private List<?> list;

    public Object getErrorX() {
        return errorX;
    }

    public void setErrorX(Object errorX) {
        this.errorX = errorX;
    }

    public ObjBean getObj() {
        return obj;
    }

    public void setObj(ObjBean obj) {
        this.obj = obj;
    }

    public List<?> getList() {
        return list;
    }

    public void setList(List<?> list) {
        this.list = list;
    }

    public static class ObjBean {
        /**
         * userId : 2
         * role : 0
         * nickName : zhou
         * sex : 0
         * team : 0
         * state : 0
         * token : a46e427a-4e9e-4ade-abf7-e13194295d64
         * phone : 15505670640
         */

        private int userid;
        private int role;
        private String nickname;
        private int sex;
        private int team;
        private int state;
        private String token;
        private String phone;

        public int getUserId() {
            return userid;
        }

        public void setUserId(int userId) {
            this.userid = userId;
        }

        public int getRole() {
            return role;
        }

        public void setRole(int role) {
            this.role = role;
        }

        public String getNickName() {
            return nickname;
        }

        public void setNickName(String nickName) {
            this.nickname = nickName;
        }

        public int getSex() {
            return sex;
        }

        public void setSex(int sex) {
            this.sex = sex;
        }

        public int getTeam() {
            return team;
        }

        public void setTeam(int team) {
            this.team = team;
        }

        public int getState() {
            return state;
        }

        public void setState(int state) {
            this.state = state;
        }

        public String getToken() {
            return token;
        }

        public void setToken(String token) {
            this.token = token;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }
    }
}
